<com:TPanel Visible="<%=  $this->getUserId() != $this->User->getName() %>">
	<com:TRepeater ID="RoleList" >
	<prop:ItemTemplate>
		<com:TActiveCheckBox
			Text="<%= $this->Data->getTitle() %>"
			Checked="<%=
					$this->TemplateControl->user_role_manager->hasUserRole(
						$this->TemplateControl->getUserId(),
						$this->Data->getId()
					)
				%>"
			AutoPostBack = "true"
			OnCheckedChanged = "Parent.TemplateControl.checkBoxClicked"
			Value="<%= $this->Data->getId() %>"
		/>
		<br/>
	</prop:ItemTemplate>
	</com:TRepeater>
</com:TPanel>

<com:TPanel Visible="<%=  $this->getUserId() == $this->User->getName() %>">
	<com:TCheckBox
		Enabled="false"
		Checked="true"
		Text="admin"
	/>
</com:TPanel>